package com.itheima.stock.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 用于接收用户数据分页查询的条件
 */
@ApiModel(description = "用于接收用户数据分页查询的条件")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserSearchByPageInfo {
    /**
     * 第几页
     */
    @ApiModelProperty(value = "第几页", position = 1)
    private Integer pageNum;
    /**
     * 每页多少条数据
     */
    @ApiModelProperty(value = "每页多少条数据", position = 2)
    private Integer pageSize;
    /**
     * 用户姓名
     */
    @ApiModelProperty(value = "用户姓名", position = 3)
    private String username;
    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称", position = 4)
    private String nickName;
    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间", position = 5)
    private Date startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间", position = 6)
    private Date endTime;
}
